// vite.config.ts
import { defineConfig } from "file:///C:/Users/13400/Desktop/worker/map-test/node_modules/vite/dist/node/index.js";
import vue from "file:///C:/Users/13400/Desktop/worker/map-test/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import path from "path";
import AutoImport from "file:///C:/Users/13400/Desktop/worker/map-test/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///C:/Users/13400/Desktop/worker/map-test/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///C:/Users/13400/Desktop/worker/map-test/node_modules/unplugin-vue-components/dist/resolvers.js";
import { createSvgIconsPlugin } from "file:///C:/Users/13400/Desktop/worker/map-test/node_modules/vite-plugin-svg-icons/dist/index.mjs";
var __vite_injected_original_dirname = "C:\\Users\\13400\\Desktop\\worker\\map-test";
var vite_config_default = defineConfig(() => {
  return {
    plugins: [
      vue(),
      AutoImport({
        resolvers: [ElementPlusResolver()]
      }),
      Components({
        resolvers: [ElementPlusResolver()]
      }),
      createSvgIconsPlugin({
        iconDirs: [path.resolve(process.cwd(), "src/assets/icons")],
        symbolId: "icon-[dir]-[name]"
      })
    ],
    // 配置src目录别名
    resolve: {
      alias: {
        "@": path.resolve(__vite_injected_original_dirname, "src")
        // 相对路径别名配置，使用 @ 代替 src
      }
    },
    server: {
      host: "0.0.0.0",
      port: 8856,
      proxy: {}
    },
    css: {
      preprocessorOptions: {
        scss: {
          javascriptEnabled: true,
          additionalData: '@import "./src/styles/variable.scss";'
        }
      }
    }
  };
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFwxMzQwMFxcXFxEZXNrdG9wXFxcXHdvcmtlclxcXFxtYXAtdGVzdFwiO2NvbnN0IF9f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